package com.yunhe.tianhe.rentcars.dao.cheliangguanli;


import com.yunhe.tianhe.rentcars.entity.cheliangguanli.Price;
import com.yunhe.tianhe.rentcars.entity.cheliangguanli.WeiXiu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PriceDao {

    List<Price> findPage1(@Param(value="offset")Integer offset, @Param(value="limit") Integer limit, @Param(value = "carcode") String carcode);

    int findPage2();

    void save(Price price);

    /**
     *
     * @param carid
     * @return
     */
    Price findone(long carid);
}
